Einhugur Word Plugin for Xojo

Document.Header Method

Gets header of requested type from the document, optionally creating new header if header with the requested type does not exist.

Header(
   headerType as EinhugurWord.HeaderFooterTypes,
   createIfNotExists as Boolean) as EinhugurWord.Header

Parameters

headerType
Type of the header to request.
createIfNotExists
If set to true then header will be created if it does not exist

Returns

EinhugurWord.Header
The requested header or nil if the header did not exist and createIfNotExists was false.

Remarks

See Also

Document Class